import javax.swing.*;
import java.awt.*;

public class WestPanel extends JPanel
{
	
	public WestPanel(Store _store, JList _listOfCustomers, JFrame parent)
	{
		super(new BorderLayout());
		
		this.add(new JLabel("List of Customers"), BorderLayout.NORTH);
		this.add(new JScrollPane(_listOfCustomers), BorderLayout.CENTER);
		this.add(new ButtonGetInfo(_store, parent, _listOfCustomers), BorderLayout.SOUTH);
	}
}
